package top.jiangqiang.qianyi.common.base.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 支持前端传字段排序
 *
 * @author Jiangqiang
 */
@Data
public class BasePageRequestWithSort extends BasePageRequest {

    @Schema(description = "排序字段，为空则不排序")
    protected String sortField;
    @Schema(description = "是否升序", example = "true", defaultValue = "true")
    protected Boolean asc = true;

}
